package com.newly.common.base.entity.business.Po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;

/**
* @anthor sbq
* @date 2021/11/4 9:40
*/
@Data
@TableName(value = "gov_statistics_day")
public class StatisticsDay {
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Id
    private Integer id;

    /**
     * 站点名称
     */
    @TableField(value = "site_name")
    @JsonProperty("site_name")
    private String siteName;

    /**
     * 轴数
     */
    @TableField(value = "axle_num")
    @JsonProperty("axle_num")
    private Integer axleNum;

    /**
     * 平均超重率
     */
    @TableField(value = "rate")
    private Double rate;

    /**
     * 当天检测次数
     */
    @TableField(value = "check_num")
    @JsonProperty("check_num")
    private Integer checkNum;

    /**
     * 当天检测正常次数
     */
    @TableField(value = "normal_num")
    @JsonProperty("normal_num")
    private Integer normalNum;

    /**
     * 当天检测超重次数
     */
    @TableField(value = "overweight_num")
    @JsonProperty("overweight_num")
    private Integer overweightNum;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @JsonProperty("create_time")
    private String createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    @JsonProperty("update_time")
    private String updateTime;

    public static final String COL_ID = "id";

    public static final String COL_CAR_NUMBER = "car_number";

    public static final String COL_SITE_NAME = "site_name";

    public static final String COL_AXLE_NUM = "axle_num";

    public static final String COL_CHECK_NUM = "check_num";

    public static final String COL_NORMAL_NUM = "normal_num";

    public static final String COL_OVERWEIGHT_NUM = "overweight_num";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_TIME = "update_time";
}